# Contributor: Francesco Colista <fcolista@alpinelinux.org>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=biblatex
pkgver=3.19
pkgrel=0
pkgdesc="Sophisticated Bibliographies in LaTeX"
url="https://www.ctan.org/pkg/biblatex"
# s390x and riscv64 blocked by texlive-luatex
arch="noarch !x86 !ppc64le !s390x !riscv64"
license="LPPL-1.3"
depends="texlive-luatex"
makedepends="bash perl"
source="$pkgname-$pkgver.tar.gz::https://github.com/plk/biblatex/archive/v$pkgver.tar.gz"
replaces="texmf-dist-bibtexextra"

package() {
	mkdir -p "$pkgdir"/usr/share/texmf-dist
	obuild/build.sh install $pkgver "$pkgdir"/usr/share/texmf-dist/
}

sha512sums="
9483269b90c6d26346104dcd4065f2dab831d77093b6f077b11d9e7ae1e839405e0c7e9b1ed2d9da1dfe5fdf91b15d925664981a307d7b1542243ce571134423  biblatex-3.19.tar.gz
"
